All Questions
Tagged with visualizationmatplotlib
70 questions
2votes
0answers
15views
How can i plot large .nc files with xarray and matplotlib?
I have a 11GB .nc file with lon/lat positions, and particle trajectories on the ocean surface for a timespan of 40 days. For small files (Approx 140MB) i use xarray, netCDF4, matplotlib and cartopy to ...
3votes
0answers
37views
A stupid question about contour plots
I am trying to make a contour plot for a point distribution using mat plot lib, but I find that the outermost points in the distribution are not included inside the perimeter of the outermost contour ...
1vote
1answer
26views
implementing the SIRD model in python
im doing a project for my class where im trying to implement the sird model with the vaccinated population. Ive written my code based on the equations i have but something seems off in my graph. the ...
1vote
0answers
12views
Annotations in matplotlib barplot
I would like to annotate the bars for the plot based on this groupby in a static fashion. Given that the cluster groups all happen to have genders that roll up to the same value per cluster, static ...
0votes
1answer
32views
How can I create this type of visualisation using Python?
I have csv file containing some hierarchical data and I’d like to create a visualisation like this: Anybody know how I can do this, preferably using matplotlib?
1vote
0answers
239views
Why do seaborn.histplot and pyplot.hist generate two different histograms on the same data?
I'm trying to visualize a customer data, two of the variables I'm looking at are verified_status and video_transcription_length. ...
3votes
1answer
1kviews
Pandas Profiling Not Working
I have been working on EDA lately and i got to know about Pandas Profiling , but i am unable to import the module Pandas_Profiling , I could import the module on Google Collab but couldnt import the ...
0votes
1answer
122views
Better understand the scatter plots
I'm trying to understand how to read a scatter plot based on the results of my confusion matrix. This is the CM: I saw an high correlation between column 5 and column 6, a low correlation with column ...
0votes
1answer
920views
How do I prevent ConfusionMatrixDisplay.from_predictions from showing the plot?
ConfusionMatrixDisplay docs say: It is recommend to use from_estimator or from_predictions ...
0votes
1answer
1kviews
How do I get pcolormesh to plot two distinct colormeshes on the same figure?
I am trying to plot 2 distinct colormeshes on the same figure. They are mutually exclusive, so there are no overlaps. This is my code: ...
0votes
1answer
261views
Ugly AUC curves. Sklearn. How to make AUC Curves less square
I dislike the square look of this AUC curve (SKLearn). The purpose of this question is "visual". Please post code snippets. This question is not requesting the theory behind the AUC. My goal ...
0votes
2answers
3kviews
How to plot categorical variables with a pie chart
I am concerned with a single column (fruit) from my df: ...
1vote
1answer
1kviews
Network Visualisation (Python/Excel)
I have a large data set similar to that in the screenshot below: and I want to visualise the whole data set like the diagram below (made with a lot of effort in PowerPoint!) Is there any way to do ...
0votes
1answer
1kviews
Plot distribution of multi classification with features - Python
I have a multi-class classification problem, and continuous features, I want to visualize using python libraries (matplotlib, seaborn, plotly..) the target variable ( 4 classes ) with each given ...
1vote
0answers
159views
Plot polar coordinates (2D) on a Poincáre Sphere surface as either heat map or scatter plot [closed]
I have a dataset with 4 values - amplitude, psi angle, chi angle and class (color). The psi angle and chi angle represent unique points on a . I want plot these psi and chi values on this sphere co-...